package com.hyzh.hj212.dmo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * 
 *
 * @author Songkui
 * @since 2024-06-14
 */
@Data
@EqualsAndHashCode(of ={"id"})
@TableName("zhj_command")
public class CommandEntity {


    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;

    @TableField("cm_code")
    private Integer cmCode;

    @TableField("cm_title")
    private String cmTitle;

    @TableField("remark")
    private String remark;

    /**
     * 1, 现场机状态，2 上位机状态，3， 监测数据
     */
    @TableField("cm_type")
    private Integer cmType;


}
